Skip to content

DO NOT MERGE: 0.10.13 phase-D default-ON flip (o8 + MiMo) on #2121 - #2132

Merged
jonathan308 merged 53 commits into
devfrom
astra/grammar-mtp-b-fold013-on-o8-mimo
Nov 14, 2026
Merged

jonathan308 merged 53 commits into
devfrom
astra/grammar-mtp-b-fold013-on-o8-mimo

Conversation

@jonathan308

@jonathan308 jonathan308 commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Default-ON flip, pre-staged — do not merge on its own; folds only with MiMo's hardware evidence, instead of #2121 (it contains #2121).

On top of #2121 (astra/grammar-mtp-b-fold013-on-o8 @ e7f4a0b32b, = #2109 acd07059b9 with SDK F + the Super flip): a red test commit, then reasoningBudgetFamilies = [.nemotronSuper, .mimoV26], the configuration row and the changelog.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

libs/mlx-swift-lm: both sides pinned their own SDK draft (#413 e0ac49a813,
#411 72dec8bf76); the resolution pins the cumulative SDK (mlx-swift-lm #416,
eaed116569 = #409 + #413 + #411 + #408 on main 859f641529), which contains
both. Everything else merged cleanly (LaunchAgent passthrough: both keys).
libs/mlx-swift-lm: #2090 pinned SDK #408 6015044b9f; the resolution keeps
the cumulative SDK eaed116569, which contains #408. Everything else merged
cleanly.
…itches

DARKBLOOM_CBV2_MTP_GRAMMAR (SDK #409) and DARKBLOOM_GEMMA_SCHEMA_COERCION
(SDK #408, provider #2090) are read by the SDK; neither reaches the launchd
provider job today, so neither can be enabled or killed in the installed
service. Red: both keys are missing from LaunchAgent.passthroughEnvKeys.
…ch off

review prov-2099 SF3: with DARKBLOOM_NATIVE_REASONING_BUDGET off, a
reasoning object whose max_tokens is not an integer now throws inside the
decoder and skips the effort check, so {max_tokens: null, effort: bogus} is
refused as invalid_tool_payload instead of 0.10.12's
unsupported_reasoning_control. Red on 2ec6d07 for every listed value.
LaunchAgent.passthroughEnvKeys gains DARKBLOOM_CBV2_MTP_GRAMMAR (SDK #409,
next to DARKBLOOM_CONSTRAINT_SPANS) and DARKBLOOM_GEMMA_SCHEMA_COERCION
(SDK #408 / #2090), so an operator's value, including the 0 rollback, reaches
the launchd provider job. Values are unchanged (still opt-in). Docs: the
grammar-MTP row in the configuration reference; the Gemma switch is forwarded.
Decode reasoning.max_tokens only when DARKBLOOM_NATIVE_REASONING_BUDGET is
on, and never let a non-integer value throw past the effort check: off, the
key is an unknown key exactly as in 0.10.12 (invalid, then the effort check
classifies the refusal); on, an unusable value is invalid without skipping
the effort check. Accepted budgets are unchanged.
…gine

review prov-2101 SF1: every JSONAnswerConstraint conforms to
CBv2FreeSpanTokenConstraint, and the SDK makes a row MTP history-eligible by
that conformance alone. With DARKBLOOM_CONSTRAINT_SPANS on, a Nemotron
Lightning, Bonsai or GPT-OSS JSON row would seed assistant history every
step instead of chained decode. Red: the Bonsai constraint conforms.
JSONAnswerConstraint no longer conforms to CBv2FreeSpanTokenConstraint; the
new QwenJSONAnswerConstraint subclass does, and JSONAnswerPolicy builds it
for the Qwen family only. With DARKBLOOM_CONSTRAINT_SPANS on, Nemotron
Lightning, Bonsai and GPT-OSS JSON rows therefore keep target-only chained
decode instead of seeding MTP history every step (review prov-2101 SF1).
Qwen behaviour is unchanged; off is unchanged.
… on yet)

SDKFeatureDefaults.apply() sets each switch listed in onByDefault to 1
before the serving process builds an engine or parser, only where the shell
or the LaunchAgent plist sets nothing, so <KEY>=0 stays the kill switch
(0.10.12's behaviour). darkbloom start and benchmark call it; start logs the
switches it turned on. The list is empty here: a switch joins it only with
its hardware evidence. Tests: the projection never overrides an operator
value, and every listed switch is forwarded by the LaunchAgent.
…nd of shared docs

The four docs files ASTRA-QUICK's phase-D items (#2091-#2093) also append to
no longer collide at end of file: the Gemma switch row joins the engine and
scheduler table beside DARKBLOOM_GEMMA_JSON_ANSWERS (review prov-2090 NIT 8),
the SDK feature defaults section sits before Native reasoning budgets, and
the inference, hardware-support and cli-reference sections sit beside their
Gemma / LaunchAgent neighbours. Text unchanged apart from the moved row.
…sist them

review prov-2109 (delta) SF1/SF2 and nits, before any switch is listed:
- SDKFeatureDefaults.apply() runs in main.swift before any command, so
  single-Mac serving, pair members (start --cluster-member / --distributed),
  workers and benchmarks agree, instead of only start's single-Mac path;
- keys it injected are remembered and LaunchAgent.passthroughEnvironment
  leaves them out, so an installing process never pins today's default into
  the service plist (the operator's own value, 0 included, is still
  forwarded); test: injectedDefaultsAreNeverWrittenIntoAServicePlist;
- an empty value counts as unset (the LaunchAgent drops empty values), so
  foreground and installed service agree; 0 is the kill switch;
- start names the switches it turned on; benchmark prints them on stderr.
The list stays empty: no behaviour change.
Each later default flip (#2101 spans, #409 grammar MTP, #2090 Gemma quoted
numbers, #2099 reasoning budgets) is then a one-line change of its own list,
so any subset of the flips merges without conflicts. No behaviour change.
Keeps the DARKBLOOM_CONSTRAINT_SPANS and DARKBLOOM_CBV2_MTP_GRAMMAR rows apart,
so their default flips merge independently. Text unchanged.
Red until its flip: SDKFeatureDefaults lists no key for o8 yet.
SDKFeatureDefaults lists the key, so every darkbloom process turns it on
unless the operator sets it; =0 (shell or LaunchAgent) restores 0.10.12.
Docs: the configuration default column; changelog line. Ships only with its
hardware evidence in its CONFLICTS.md row.
…'s and Astra's edits

No behaviour change. #2109 now merges cleanly with every phase-C item
(#2096, #2098, #2088, #2100) and with ASTRA-QUICK's #2104 + #2094, in any
order:
- MultiModelBatchSchedulerEngine: the budget's exitThinking = nil follows
  the distributed-pair check instead of the resolve call #2088 edits (both
  only clear exitThinking);
- EngineV2Bridge+Submission: reasoningBudget is assigned after
  hybridPrefixIdentity instead of beside maxTokens, where #2100 adds priority
  (independent fields of the same request);
- the DARKBLOOM_GEMMA_SCHEMA_COERCION passthrough key, configuration row and
  inference section move next to the other SDK-read keys / JSON rows / the
  Qwen JSON section, away from #2098's Gemma prompt-contract additions.
…entry order (red)

review prov-2109-d2. New tests, failing by assertion against today's
behaviour (the new API below keeps it):
- MUST-FIX 1: a darkbloom child (DesktopWorker) inherits KEY=1 from its
  parent's injection and must not take it for the operator's: no plist
  entry, a grandchild still knows, a newer release that drops the key
  unsets it, the operator's own value still wins;
- SF2: SDKFeatureDefaults.apply() runs first in main.swift, before every
  early branch (the native serving qualification serves a model);
- SF3: per-build MTP defaults (spans, grammar MTP) turn on only for the
  listed builds and only when the operator leaves the switch unset;
  reasoning budgets follow a per-family default, the release's own
  injected 1 is not the operator's; the slot factory applies them.
API added with today's behaviour (no-op / unscoped): SDKFeatureDefaults
.plan, .injectedMarkerKey, .applyMTPDefaults, .matches, .followsDefault,
.summary; NativeReasoningBudget.isEnabled(for:).
…first

review prov-2109-d2:
- MUST-FIX 1: apply() records what it injected in
  DARKBLOOM_SDK_DEFAULTS_INJECTED (inherited, never forwarded). A darkbloom
  child (the desktop app's DesktopWorker, cluster parts) treats a marked key
  whose value is still 1 as unset: its own release list decides it again
  and records it as injected, so its LaunchAgent install never persists it;
  a release that no longer lists the key unsets it; an operator value wins.
- SF2: main.swift applies the defaults first, before every early branch
  (the native serving qualification serves with the shipped defaults).
- SF3: defaults turn on only where they were measured.
  DARKBLOOM_CONSTRAINT_SPANS and DARKBLOOM_CBV2_MTP_GRAMMAR are never set
  process-wide: the slot factory turns them on in the engine's
  CBv2MTPConfig for the listed builds (model_type or model-id part) when the
  operator leaves them unset, and logs it; Gemma 4 and Super local MTP keep
  the SDK's reading (the operator's value). Reasoning budgets are admitted
  per family (NativeReasoningBudget.isEnabled(for:)); with a family listed
  the key is set process-wide so every engine accepts budget rows, and the
  provider's own 1 does not count as the operator's.
- start/benchmark name the switches and their builds/families; docs describe
  operator values as kill switches and the per-build defaults.
All lists stay empty here: no behaviour change until a flip folds.
Red until its flip: SDKFeatureDefaults lists nothing for o8 yet.
…sured

SDKFeatureDefaults lists it (scope in its configuration row and changelog);
an operator value wins everywhere, =0 (shell or LaunchAgent) restores 0.10.12.
Ships only with its hardware evidence in its CONFLICTS.md row.
…, deadline gate (red)

review prov-2109-d4 (APPROVE WITH NITS), tests first, failing by assertion
against today's behaviour (API reshaped, behaviour kept):
- SF1: a per-build default reaches only the exact model id it was measured
  on (no 8-bit / fine-tune / local-path substring matches);
- SF2: grammar MTP's default applies only where constraint spans are on
  (the measured combination);
- SF3: the deadline-profile gate accepts the release's own injected
  defaults and the marker, still refusing operator values;
- NIT 5/6: a marker is trusted only for keys the provider injects, and the
  marker alone identifies an injected value;
- NIT 7: an operator value in the process environment wins over a slot
  environment that lacks it.
…dline gate

review prov-2109-d4 (APPROVE WITH NITS):
- SF1: per-build defaults match exact model ids (lowercased), never another
  quantization, a fine-tune or a local path;
- SF2: grammar MTP's default applies only where constraint spans are on,
  the combination that was measured;
- SF3: DeadlineRuntimeEnvironment accepts the marker and the release's own
  injected defaults (profiles are pinned to the provider version), still
  refusing operator values;
- NIT 5/6: the marker is trusted only for injectable keys, and identifies an
  injected value on its own (isInjected), so NativeReasoningBudget and the
  deadline gate agree in any process;
- NIT 7: a switch counts as unset only if unset in the slot's environment
  and in the process's (what the SDK read);
- NIT 4/10: docs no longer call the switches opt-ins where a flip would
  make that wrong; changelog fragments for the mechanism and for
  grammar-aware MTP (opt-in until its flip).
Red until its flip: SDKFeatureDefaults lists nothing for o8 yet.
…sured

SDKFeatureDefaults lists it (scope in its configuration row and changelog);
an operator value wins everywhere, =0 (shell or LaunchAgent) restores 0.10.12.
Ships only with its hardware evidence in its CONFLICTS.md row.
…faults (red)

review prov-2109-d5 NITs 1, 4, 5 (APPROVE WITH NITS, no must/should-fix):
the start line qualifies grammar MTP's default (it rides on constraint
spans); LaunchAgent.passthroughEnvironment knows a marked value is the
release's even before the process records it; the grammar-with-spans tests
build their configs explicitly (hermetic against a lane's environment).
summary gains an internal overload taking the lists (public default
arguments may reference public declarations only).
…kips marked values

review prov-2109-d5 NITs 1 and 4: the start/benchmark line says grammar
MTP's default applies where constraint spans are on; the LaunchAgent's
passthrough treats a marked value as the release's (isInjected), like
NativeReasoningBudget and the deadline gate.
Red until its flip: SDKFeatureDefaults lists nothing for o8 yet.
…sured

SDKFeatureDefaults lists it (scope in its configuration row and changelog);
an operator value wins everywhere, =0 (shell or LaunchAgent) restores 0.10.12.
Ships only with its hardware evidence in its CONFLICTS.md row.
…417 + #418)

The final phase-D SDK pin F: SDK main after the owner merged #416 (the
cumulative SDK this branch pinned at eaed116569, plus main's #414 CI map),
#417 (STRUCTURED: GLM native token constraints) and #418 (AUDIO-407's #407
Gemma reopened-thought conformance), each as a signed merge commit on green.
F's tree equals #418's head tree. eaed116569 and the candidate's pin
859f641529 are both ancestors of F.

SDK library changes since eaed116569 touch only native-tracked engines
(GLM constraint admission; constrained chaining stays off there), Gemma's
reasoning parser behind DARKBLOOM_GEMMA_REOPENED_THOUGHTS (default off) and
a visibility-only GemmaToolFrameScanner change: none of the paths this
branch's switches use (Qwen MTP spans / grammar on untracked engines, the
Gemma argument parser, Super / MiMo reasoning budgets).
Pre-staged: folds only if MiMo is measured in its ON state on Mac B
(budgets 16/128/512 + controls + a pair, off vs on), instead of #2121.
reasoningBudgetFamilies = [.nemotronSuper, .mimoV26]; docs row and changelog.
Folds only with MiMo's ON-state evidence (instead of #2121).
@vercel

vercel Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference-landing Ready Ready Preview Nov 14, 2026 1:03am UTC
darkbloom-status Ready Ready Preview Nov 14, 2026 1:03am UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 14, 2026 1:03am UTC

Request Review

This branch was successfully deployed

3 active deployments
Preview – d-inference-landing — e3ce2657 Deployed Nov 14, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — e3ce2657 Deployed Nov 14, 2026 by vercel[bot]
Preview – darkbloom-status — e3ce2657 Deployed Nov 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant